<div id="preject">
    <form id="stu_search" method="post" action="student" style="margin-top: 10px">
     <input type="search" name="search" placeholder="请输入搜索关键词">
        <input value="搜索" type="submit">
    </form>
    <div id="table" style="margin-top: 20px">
        <table>
            <tr><th>序号</th> <th>用户名</th> <th>学号</th> <th>年级</th> <th>系部</th> <th>班级</th>  <th>邮箱</th> <th>手机号码</th> <th><a href="{:url('excelstudent')}">导出</a></th>
            </tr>
            {foreach $student as $k=>$v}
            <tr><td>{$student->currentPage()*30-30+$k+1}</td> <td>{$v.name}</td> <td>{$v.stuid}</td> <td>{$v.grade}</td> <td>{$v.apartment}</td> <td>{$v.class}</td>   <td>{$v.email}</td> <td>{$v.phone}</td>  <td><a href="{:url('deletestudent')}?id={$v.id}" onclick="javascript:if(confirm('确定删除报名吗？')){return true;}return false;">删除</a></td><td></td></tr>
            {/foreach}

        </table>
    </div>
    <div id="page">{$student}</div>
</div>